#include "BulletCollision/CollisionDispatch/btCollisionWorldImporter.h"
#ifdef __cplusplus
extern "C" {
#endif
btCollisionWorldImporter* bullet_NewbtCollisionWorldImporter(btCollisionWorld* world){
	btCollisionWorld * c_arg_world=(btCollisionWorld *)(void*)(world);
	btCollisionWorldImporter* wrap_out = new btCollisionWorldImporter(c_arg_world);
	return wrap_out;
}

bool bullet_btCollisionWorldImporter_convertAllObjects(btCollisionWorldImporter* c_this,btBulletSerializedArrays* arrays){
	btBulletSerializedArrays * c_arg_arrays=(btBulletSerializedArrays *)(void*)(arrays);
	bool c_out = c_this->convertAllObjects(c_arg_arrays);
	bool wrap_out = (c_out);
	return wrap_out;
}

btOptimizedBvh* bullet_btCollisionWorldImporter_getBvhByIndex(btCollisionWorldImporter* c_this,int index){
	int c_arg_index=index;
	btOptimizedBvh * c_out = c_this->getBvhByIndex(c_arg_index);
	btOptimizedBvh* wrap_out = (btOptimizedBvh*)(void*)(c_out);
	return wrap_out;
}

btCollisionObject* bullet_btCollisionWorldImporter_getCollisionObjectByName(btCollisionWorldImporter* c_this,char* name){
	char const * c_arg_name=(char const *)(void*)(name);
	btCollisionObject * c_out = c_this->getCollisionObjectByName(c_arg_name);
	btCollisionObject* wrap_out = (btCollisionObject*)(void*)(c_out);
	return wrap_out;
}

char* bullet_btCollisionWorldImporter_getNameForPointer(btCollisionWorldImporter* c_this,void* ptr){
	void const * c_arg_ptr=(void const *)(void*)(ptr);
	char const * c_out = c_this->getNameForPointer(c_arg_ptr);
	char* wrap_out = (char*)(void*)(c_out);
	return wrap_out;
}

int bullet_btCollisionWorldImporter_getNumBvhs(btCollisionWorldImporter* c_this){
	int c_out = c_this->getNumBvhs();
	int wrap_out = (c_out);
	return wrap_out;
}

int bullet_btCollisionWorldImporter_getNumCollisionShapes(btCollisionWorldImporter* c_this){
	int c_out = c_this->getNumCollisionShapes();
	int wrap_out = (c_out);
	return wrap_out;
}

int bullet_btCollisionWorldImporter_getNumRigidBodies(btCollisionWorldImporter* c_this){
	int c_out = c_this->getNumRigidBodies();
	int wrap_out = (c_out);
	return wrap_out;
}

int bullet_btCollisionWorldImporter_getNumTriangleInfoMaps(btCollisionWorldImporter* c_this){
	int c_out = c_this->getNumTriangleInfoMaps();
	int wrap_out = (c_out);
	return wrap_out;
}

btCollisionObject* bullet_btCollisionWorldImporter_getRigidBodyByIndex(btCollisionWorldImporter* c_this,int index){
	int c_arg_index=index;
	btCollisionObject * c_out = c_this->getRigidBodyByIndex(c_arg_index);
	btCollisionObject* wrap_out = (btCollisionObject*)(void*)(c_out);
	return wrap_out;
}

btTriangleInfoMap* bullet_btCollisionWorldImporter_getTriangleInfoMapByIndex(btCollisionWorldImporter* c_this,int index){
	int c_arg_index=index;
	btTriangleInfoMap * c_out = c_this->getTriangleInfoMapByIndex(c_arg_index);
	btTriangleInfoMap* wrap_out = (btTriangleInfoMap*)(void*)(c_out);
	return wrap_out;
}

int bullet_btCollisionWorldImporter_getVerboseMode(btCollisionWorldImporter* c_this){
	int c_out = c_this->getVerboseMode();
	int wrap_out = (c_out);
	return wrap_out;
}

void bullet_btCollisionWorldImporter_setVerboseMode(btCollisionWorldImporter* c_this,int verboseMode){
	int c_arg_verboseMode=verboseMode;
	c_this->setVerboseMode(c_arg_verboseMode);
}

#ifdef __cplusplus
}
#endif
